import axiosInstance from '@/api/axiosInstance'
interface listParams {
  menu?: string
  type?: string|number
  page?: number
  pageSize?: number
  // 其他查詢條件...
}

// 獲取系統消息列表
export const getList = async (params?: listParams) => {
  return axiosInstance.get('/admin/operation-log', { params })
}

// 獲取系統消息詳情
export const getDetail = async (id: number) => {
  return axiosInstance.get(`/admin/operation-log/${id}`)
}
